#ifndef __USYS_H__
#define __USYS_H__

#include <stdint.h>

int isVaildIp(const char* ip);
double get_sysCpuUsage();
int get_sysMemUsage();

int set_mac(char* eth, uint8_t* mac);
int if_updown(char *ifname, int flag);
int SetIfAddr(char *ifname, char *Ipaddr, char *mask,char *gateway);

#endif
